const accountInfo = wx.getAccountInfoSync()
// api.fishto.cn
// yzb.huamufang.com
const baseUrl = accountInfo.miniProgram.envVersion === 'release' ? 'https://api.fishto.cn/v2' : 'https://api.fishto.cn/v2'
const config = {
	wx369861de30f77912: {
	  baseUrl,
	  apiKey: 'JEDY-u8PFQSx0iys5fkrmssjGJ_6qAzN',
	  appId: accountInfo.miniProgram.appId,
	  mapKey: '3HMBZ-FNHE7-RUDXQ-PSKLQ-BIJAQ-X6FF5',
	  mapReferer: '粤照办',
	  customerServiceUrl: 'https://work.weixin.qq.com/kfid/kfcb9388eb90d7b0cc2',
	  corpId: 'wwe2d54fda99c31735',
	  templateMessageId: 'SG6UMVr9j_h6fKahCb9MHvzj30BcbALNlyr4C9gwZqw',
  },
  wxe45055054fd893e4: {
    baseUrl,
    apiKey: 'JEDY-u8PFQSx0iys5fkrmssjGJ_6qAzN',
    appId: accountInfo.miniProgram.appId,
    mapKey: 'OJYBZ-6SZKU-443VI-2HC46-5SGST-Z2FG3',
    mapReferer: '照片回执在线制作',
    customerServiceUrl: 'https://work.weixin.qq.com/kfid/kfcd02d7a2af2cbe1d6',
    corpId: 'ww2d34f982033597a2',
    templateMessageId: 'w2heARK6aLGI2PmKc-YNlpBgYRRGi7t1Egfjzb1eNVI',
  }, 
  wx5a27490a6c6d7c1f: {
    baseUrl,
    apiKey: 'JEDY-u8PFQSx0iys5fkrmssjGJ_6qAzN',
    appId: accountInfo.miniProgram.appId,
    //备用1-EXCBZ-3T5CV75JPB-5A7RH-EDO27-55FWR
    mapKey: 'PITBZ-4QJWU-O5RVO-BOZSZ-QWYPE-MTBB4',
    mapReferer: '我的证件照中心',
    customerServiceUrl: 'https://work.weixin.qq.com/kfid/kfc7028523bf42105ec',
    corpId: 'ww898f66ea676a46fb',
    templateMessageId: 'kXj50jn0VJcnL_LkrHHGW5XuTMq8bUJq9zVrWJOi5EU',
  },  
  wx2ec8dfbf3c04efb8: {
    baseUrl,
    apiKey: 'JEDY-u8PFQSx0iys5fkrmssjGJ_6qAzN',
    appId: accountInfo.miniProgram.appId,
    mapKey: 'L5UBZ-4Z6LG-UBUQE-QARJQ-Z3GTS-DHFHJ',
    mapReferer: '证件照秒拍',
    customerServiceUrl: 'https://work.weixin.qq.com/kfid/kfc23ac08ad5d0aff5c',
    corpId: 'ww2d34f982033597a2',
    templateMessageId: 'SG6UMVr9j_h6fKahCb9MHvzj30BcbALNlyr4C9gwZqw',
  },
  wx8b5429ec76868d11: {
    baseUrl,
    apiKey: 'JEDY-u8PFQSx0iys5fkrmssjGJ_6qAzN',
    appId: accountInfo.miniProgram.appId,
    mapKey: 'JO2BZ-T2Y6G-32JQP-QPSMU-XM2T7-XFFS5',
    mapReferer: '云图证件照',
    customerServiceUrl: 'https://work.weixin.qq.com/kfid/kfcf904ab82eae15ce8',
    corpId: 'ww2d34f982033597a2',
    templateMessageId: 'elnFwaGJ39OZYR70_01c1A2QaTKmcgW3nVjaJDu82BA',
  },  
  wx010bdef4bd824381: {
    baseUrl,
    apiKey: 'JEDY-u8PFQSx0iys5fkrmssjGJ_6qAzN',
    appId: accountInfo.miniProgram.appId,
    mapKey: 'VMQBZ-XFFRJ-C4MFR-FHDZF-MGTGJ-GWFKQ',
    mapReferer: '标准云证件照',
    customerServiceUrl: 'https://work.weixin.qq.com/kfid/kfc7028523bf42105ec',
    corpId: 'ww898f66ea676a46fb',
    templateMessageId: '9xXANZ-znLl_zmCt1-otj5JPKu1f_WMHzY_JH07ZTN8',
  },
  wx4dea6cea8df391f3: {
    baseUrl,
    apiKey: 'JEDY-u8PFQSx0iys5fkrmssjGJ_6qAzN',
    appId: accountInfo.miniProgram.appId,
    mapKey: 'LN3BZ-F3FRQ-RFL53-2F3TF-FH3CS-IPBYG',
    mapReferer: '企鹅云证件照',
    customerServiceUrl: 'https://work.weixin.qq.com/kfid/kfcf904ab82eae15ce8',
    corpId: 'ww2d34f982033597a2',
    templateMessageId: '1_VUcHI19iN09bibOhA8Z9oTRaza4VZEN7Y84WBjA0I',
  },
  wxfdc16a272db2825b: {
    baseUrl,
    apiKey: 'JEDY-u8PFQSx0iys5fkrmssjGJ_6qAzN',
    appId: accountInfo.miniProgram.appId,
    mapKey: 'OMCBZ-3OV3W-77FRW-34PRG-N65YO-YCFXF',
    mapReferer: '风驰证件照回执',
    customerServiceUrl: 'https://work.weixin.qq.com/kfid/kfcf904ab82eae15ce8',
    corpId: 'ww2d34f982033597a2',
    templateMessageId: '3jEGibfbfTPMJvbWWDQVeUh61MCN7APrics-wH6BU0M',
  },
  wx607db5c59fe565c5: {
    baseUrl,
    apiKey: 'JEDY-u8PFQSx0iys5fkrmssjGJ_6qAzN',
    appId: accountInfo.miniProgram.appId,
    mapKey: 'OMCBZ-3OV3W-77FRW-34PRG-N65YO-YCFXF',
    mapReferer: '标准证件照中心',
    customerServiceUrl: 'https://work.weixin.qq.com/kfid/kfcf904ab82eae15ce8',
    corpId: 'ww2d34f982033597a2',
    templateMessageId: '3jEGibfbfTPMJvbWWDQVeUh61MCN7APrics-wH6BU0M',
  }
}

module.exports = config[accountInfo.miniProgram.appId]
